package com.yike.user.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.yike.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 店铺统计表
 *
 * @author Sakura
 * @since 2024-11-13
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("qy_shop_count")
@ApiModel(value = "ShopCount对象")
public class ShopCount extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("店铺id")
    private Long shopId;

    @ApiModelProperty("统计日期")
    private Date countDate;

    @ApiModelProperty("订单数量")
    private Integer orderNumber;

    @ApiModelProperty("营业额")
    private BigDecimal totalAmount;

    @ApiModelProperty("实收")
    private BigDecimal actualAmount;

    @ApiModelProperty("阿里订单数")
    private Integer aliOrderNumber;

    @ApiModelProperty("支付宝金额")
    private BigDecimal aliAmount;

    @ApiModelProperty("微信订单数")
    private Integer wxOrderNumber;

    @ApiModelProperty("微信金额")
    private BigDecimal wxAmount;

    @ApiModelProperty("退款数量")
    private Integer refundNumber;

    @ApiModelProperty("平台分佣比例")
    private BigDecimal commissionRate;

    @ApiModelProperty("分佣金额")
    private BigDecimal commissionAmount;

}
